package com.jbit.hxy.service.adress;


import com.baomidou.mybatisplus.extension.service.IService;
import com.jbit.hxy.common.Result;
import com.jbit.hxy.model.dto.WxAddressFromDTO;
import com.jbit.hxy.model.po.WxAddress;

/**
* @author 28575
* @description 针对表【wx_address(地址簿)】的数据库操作Service
* @createDate 2024-09-07 11:27:52
*/
public interface WxAddressService extends IService<WxAddress> {

    Result getAddress(Integer userId);

    Result addAddress(WxAddressFromDTO wxAddressFromDTO);

    Result updateAddress(WxAddressFromDTO wxAddressFromDTO);

    Result deleteAddress(Integer id);

    Result getAddressByUserId(Integer userId);
}
